﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain
{
    /// <summary>
    /// 供应商
    /// </summary>
    public class vendor
    {
        /// <summary>
        /// 原料
        /// </summary>
        public class RawMaterials
        {
            [Key]
            public int RewMaterialsId { get; set; }
            /// <summary>
            /// 原料名
            /// </summary>
            public string? RawMaterialsName { get; set; }
        }
        /// <summary>
        /// 辅料
        /// </summary>
        public class Accessories
        {
            [Key]
            public int AccessoriesId { get; set; }
            /// <summary>
            /// 辅料名
            /// </summary>
            public string? AccessoriesName { get; set; }
        }
        /// <summary>
        /// 添加剂
        /// </summary>
        public class Additive
        {
            [Key]
            public int AdditiveId { get; set; }
            /// <summary>
            /// 添加剂名
            /// </summary>
            public string? AdditiveName { get; set; }
        }
        /// <summary>
        /// 包材
        /// </summary>
        public class Packaging
        {
            [Key]
            public int PackagingId { get; set; }
            /// <summary>
            /// 包材名
            /// </summary>
            public string? PackagingName { get; set; }
        }
    }
}
